package com.fintech.third.dao.intbank;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.fintech.third.model.intbank.IntBankCreditPaymentRecords;

public interface IntBankCreditPaymentRecordsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(IntBankCreditPaymentRecords record);

    int insertSelective(IntBankCreditPaymentRecords record);

    IntBankCreditPaymentRecords selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(IntBankCreditPaymentRecords record);

    int updateByPrimaryKey(IntBankCreditPaymentRecords record);
    
    /**
     * 贷款结清记录
     * @param serialNum
     * @return
     */
    List<IntBankCreditPaymentRecords>  intBankCreditPaymentJQRecords(@Param("serialNum") String serialNum);
    
    
    /**
     * 贷款非结清记录
     * @param serialNum
     * @return
     */
    List<IntBankCreditPaymentRecords>  intBankCreditPaymentNJQRecords(@Param("serialNum") String serialNum);
    
    
    /**
   	 * 贷款信息明细
   	 * @param map
   	 * @return
   	 */
   	public List<Map<String, Object>> detailsOfLoanInformation(@Param("loanId") String loanId);
}